@charset "UTF-8";
/* == 全局 == */
a {
  -webkit-appearance: none;
}

body {
  background-color: #CF472D;
  color: white;
}

.hide {
  display: none;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* == 内容 == */
.act_content {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.mod_banner {
  width: 100%;
  min-height: 166px;
}

.mod_cont {
  padding-bottom: 20px;
}
.mod_cont .open_item div {
  background: url("../img/sp.png") no-repeat;
  height: 54.5px;
  width: 320px;
  background-size: 320px auto;
  margin: 10px auto;
}
.mod_cont .open_item .p1 {
  background-position: 0 -95px;
}
.mod_cont .open_item .p2 {
  background-position: 0 -204px;
}
.mod_cont .open_item .p3 {
  background-position: 0 -150px;
}
.mod_cont .btn_open {
  position: relative;
  display: block;
  width: 251px;
  height: 35px;
  margin: 0 auto;
  text-align: center;
  line-height: 35px;
  background-color: #ffda21;
  border-radius: 30px;
  color: #923321;
  font-size: 15px;
  font-weight: bold;
}
.mod_cont .btn_open:active {
  background-color: #edc500;
}
.mod_cont .btn_open.disabled {
  background-color: #bfbfbf;
  color: #9f9f9f;
}
.mod_cont .btn_open.disabled:after {
  content: "";
  position: absolute;
  top: -10px;
  left: 120px;
  background-image: url("../img/sp.png");
  background-size: 320px auto;
  background-position: -59px 0;
  height: 56px;
  width: 90px;
}
.mod_cont .btn_open.disabled:active {
  background-color: #bfbfbf;
}

.mod_rule {
  background-color: #aa260d;
  padding: 10px 20px;
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.mod_rule .title {
  background-image: url("../img/sp.png");
  background-size: 320px auto;
  background-position: -245px -259px;
  height: 19px;
  width: 72.5px;
  overflow: hidden;
  text-indent: -999px;
  -webkit-transform: scale(1.2);
  -webkit-transform-origin: 0;
  margin: 5px 0;
}
.mod_rule li {
  color: #ffe4ac;
  font-size: 12px;
  margin: 5px 0;
}

.mod_num .n_hd {
  position: relative;
  background-image: url("../img/sp.png");
  background-size: 320px auto;
  background-position: 0 -56px;
  height: 39px;
  width: 320px;
  margin: 0 auto;
}
.mod_num .n_hd p {
  position: absolute;
  top: 12px;
  left: 90px;
  color: #b03921;
  font-size: 14px;
}
.mod_num .n_bd {
  height: 95px;
  background-color: #ffb700;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  margin: 10px auto;
  padding: 3px;
}
.mod_num .n_bd .num_wrap {
  background-color: #b77611;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  padding: 7px 10px;
  display: -webkit-box;
  -webkit-box-pack: justify;
}
.mod_num .n_bd .num_wrap .digit {
  position: relative;
  overflow: hidden;
  display: block;
  width: 26px;
  height: 75px;
  line-height: 75px;
  text-align: center;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffd66e), color-stop(50%, white), color-stop(100%, #ffd66e));
  background: -webkit-linear-gradient(top, #ffd66e 0%, white 50%, #ffd66e 100%);
  background: linear-gradient(to bottom, #ffd66e 0%, white 50%, #ffd66e 100%);
}
.mod_num .n_bd .num_wrap .digit strong {
  display: block;
  width: 26px;
  height: 75px;
  background-image: url(../img/num.png);
  background-size: 26px auto;
  background-repeat: repeat-y;
}
.mod_num .n_bd .num_wrap .digit:nth-child(2n) strong {
  -webkit-transition: background-position 500ms ease;
}
.mod_num .n_bd .num_wrap .digit:nth-child(2n+1) strong {
  -webkit-transition: background-position 500ms linear;
}
.mod_num .n_bd .num_wrap .digit .digit-0 {
  background-position: 0 0;
}
.mod_num .n_bd .num_wrap .digit .digit-1 {
  background-position: 0 -75px;
}
.mod_num .n_bd .num_wrap .digit .digit-2 {
  background-position: 0 -150px;
}
.mod_num .n_bd .num_wrap .digit .digit-3 {
  background-position: 0 -225px;
}
.mod_num .n_bd .num_wrap .digit .digit-4 {
  background-position: 0 -300px;
}
.mod_num .n_bd .num_wrap .digit .digit-5 {
  background-position: 0 -375px;
}
.mod_num .n_bd .num_wrap .digit .digit-6 {
  background-position: 0 -450px;
}
.mod_num .n_bd .num_wrap .digit .digit-7 {
  background-position: 0 -525px;
}
.mod_num .n_bd .num_wrap .digit .digit-8 {
  background-position: 0 -600px;
}
.mod_num .n_bd .num_wrap .digit .digit-9 {
  background-position: 0 -675px;
}
.mod_num .num_eight {
  width: 271px;
}
.mod_num .num_eight .num_wrap {
  width: 264px;
  height: 89px;
}
.mod_num .num_nine {
  width: 291px;
}
.mod_num .num_nine .num_wrap {
  width: 284px;
  height: 89px;
}

.mod_tips {
  padding-bottom: 20px;
  width: 270px;
  margin: 0 auto;
}
.mod_tips .title {
  font-size: 12px;
  color: #811e0c;
}
.mod_tips .title span {
  display: inline-block;
  vertical-align: middle;
  background-image: url("../img/sp.png");
  background-size: 320px auto;
  background-position: -229px -259px;
  height: 15px;
  width: 16px;
  margin-right: 4px;
}
.mod_tips .tips_success {
  display: block;
  background-image: url("../img/sp.png");
  background-size: 320px auto;
  background-position: 0 -259px;
  height: 145px;
  width: 229px;
  margin: 6px auto;
  overflow: hidden;
  text-indent: -999px;
  opacity: 0;
  display: none;
}
.mod_tips .tips_success.start {
  opacity: 1;
  display: block;
  -webkit-animation-name: tips_start;
  -webkit-animation-duration: 500ms;
  -webkit-animation-fill-mode: both;
}
.mod_tips .btn_reg {
  width: 261px;
  height: 35px;
  border-radius: 30px;
  line-height: 35px;
  text-align: center;
  background-color: #ffda21;
  color: #923321;
  font-size: 15px;
  font-weight: bold;
  display: block;
  margin: 0 auto;
}
.mod_tips .btn_reg:active {
  background-color: #edc500;
}
.mod_tips .btn_reg.disabled, .mod_tips .btn_reg.disabled:active {
  margin-top: 20px;
  background-color: #C7C7C7;
  color: #333333;
}

@-webkit-keyframes tips_start {
  0% {
    -webkit-transform: scale3d(2, 2, 2);
    transform: scale3d(2, 2, 2);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@-webkit-keyframes ani_roll0 {
  0% {
    -webkit-transform: rotate3d(1, 0, 0, 0deg);
  }

  25% {
    -webkit-transform: rotate3d(1, 0, 0, 90deg);
  }

  50% {
    -webkit-transform: rotate3d(1, 0, 0, 180deg);
  }

  75% {
    -webkit-transform: rotate3d(1, 0, 0, 270deg);
  }

  100% {
    -webkit-transform: rotate3d(1, 0, 0, 360deg);
  }
}
@-webkit-keyframes ani_roll1 {
  0% {
    -webkit-transform: rotate3d(1, 0, 0, 0deg);
  }

  25% {
    -webkit-transform: rotate3d(1, 0, 0, 90deg);
  }

  50% {
    -webkit-transform: rotate3d(1, 0, 0, 180deg);
  }

  75% {
    -webkit-transform: rotate3d(1, 0, 0, 270deg);
  }

  100% {
    -webkit-transform: rotate3d(1, 0, 0, 360deg);
  }
}
.act_overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  display: none;
}
.act_overlay.show {
  display: -webkit-box !important;
  display: box !important;
}

.act_pop {
  position: relative;
  width: 270px;
  min-height: 165px;
  margin: 0 auto;
  display: none;
  background-color: #f3d377;
  border-radius: 6px;
}
.act_pop.show {
  display: block !important;
}
.act_pop .pop_content {
  padding: 16px 10px;
  text-align: center;
}
.act_pop .pop_content .c_main {
  color: #c0582a;
  font-weight: bold;
}
.act_pop .pop_content .c_important {
  color: #d72e25;
  font-size: 18px;
  font-weight: bold;
}
.act_pop .pop_content .c_sub {
  color: #c0582a;
  font-size: 18px;
  margin-top: 17px;
}
.act_pop .pop_ft {
  text-align: center;
}
.act_pop .pop_ft .p_btn {
  width: 111px;
  height: 35px;
  border-radius: 30px;
  text-align: center;
  line-height: 35px;
  font-size: 20px;
  color: #ffefc0;
  margin: 0 2px;
  font-weight: bold;
}
.act_pop .pop_ft .p_btn_lg {
  width: 160px;
  height: 35px;
  border-radius: 30px;
  text-align: center;
  line-height: 35px;
  font-size: 20px;
  color: #ffefc0;
  margin: 0 2px;
  font-weight: bold;
}
.act_pop .pop_ft .btn_y {
  background-color: #d68f20;
  border-bottom: 1px solid #b77715;
}
.act_pop .pop_ft .btn_y:active {
  background-color: #b77715;
}
.act_pop .pop_ft .btn_r {
  background-color: #d74a1f;
  border-bottom: 1px solid #ca380b;
}
.act_pop .pop_ft .btn_r:active {
  background-color: #ca380b;
}
.act_pop .p_btn_close {
  position: absolute;
  top: -7px;
  right: -7px;
  background-image: url("../img/sp.png");
  background-size: 320px auto;
  background-position: -28px 0;
  height: 32px;
  width: 31px;
}
.act_pop .p_btn_close:active {
  opacity: .9;
}

.pop_succ .pop_content .c_important {
  margin-top: 5px;
  font-size: 22px;
}
.pop_succ .pop_content .c_important p {
  height: 25px;
  line-height: 25px;
}
.pop_succ .pop_content .c_sub {
  margin-top: 10px;
  font-size: 13px;
}
.pop_succ .pop_content .c_sub a {
  color: #a51008;
  text-decoration: underline;
}

.pop_form .pop_content {
  padding: 16px 23px;
  text-align: left;
}
.pop_form .pop_content .c_main {
  font-size: 16px;
  color: #a5710e;
}
.pop_form .pop_content .c_form {
  position: relative;
  width: 222px;
  height: 34px;
  line-height: 34px;
  border: 1px solid #c55e47;
  border-radius: 4px;
  margin: 3px auto;
}
.pop_form .pop_content .c_form input {
  width: 180px;
  height: 34px;
  line-height: 34px;
  color: #a50c22;
  font-size: 16px;
  padding: 0 26px 0 7px;
  -webkit-box-sizing: border-box;
  border-right: 1px solid #c55e47;
}
.pop_form .pop_content .c_form .del_text {
  position: absolute;
  top: 8px;
  left: 156px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #ba413a url() no-repeat;
  background-size: 9px auto;
  background-position: 4px 4px;
}
.pop_form .pop_content .c_form .del_text:active {
  background-color: #93332e;
}
.pop_form .pop_content .c_form .btn_friend {
  position: absolute;
  top: 6px;
  right: 6px;
  background-image: url("../img/sp.png");
  background-size: 320px auto;
  background-position: 0 0;
  height: 25px;
  width: 28px;
}
.pop_form .pop_content .c_form .btn_friend:after {
  content: "";
  position: absolute;
  width: 160%;
  height: 160%;
  top: 50%;
  left: 50%;
  margin-top: -80%;
  margin-left: -80%;
}
.pop_form .pop_content .c_sub {
  font-size: 12px;
  color: #a5710e;
  margin-top: 0;
}

@media screen and (max-height: 480px) {
  .mod_num .n_hd {
    margin-top: -30px;
    margin-bottom: -7px;
  }

  .mod_num .n_bd {
    margin-top: 8px;
    margin-bottom: 4px;
  }

  .mod_tips .title {
    padding: 0 32px;
  }

  .mod_tips .tips_success {
    background-size: 200px auto;
    background-position: 0px -158px;
    height: 95px;
    width: 149px;
    -webkit-animation: none !important;
    margin: -2px auto;
  }
}
.qiandao {
  position: absolute;
  top: 100px;
  right: 0px;
  width: 60px;
  height: 80px;
  background: url(../img/vip.png) no-repeat;
  background-size: 60px auto;
  -webkit-transform: rotate(-69deg);
  -webkit-transition: all 500ms ease-out;
  opacity: 0;
  -webkit-transform: rotate(-69deg) translate3d(0px, 80px, 0);
}

.qiandao.show {
  opacity: 0.8;
  -webkit-transform: rotate(-69deg) translate3d(0px, 10px, 0);
}

.qiandao.bounce {
  -webkit-animation: bounce 1500ms ease both infinite;
}

@-webkit-keyframes bounce {
  0%,100%,20%,53%,80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: rotate(-69deg) translate3d(0, 10px, 0);
    transform: rotate(-69deg) translate3d(0, 10px, 0);
  }

  40%,43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: rotate(-69deg) translate3d(0, 8px, 0);
    transform: rotate(-69deg) translate3d(0, 8px, 0);
  }

  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: rotate(-69deg) translate3d(0, 5px, 0);
    transform: rotate(-69deg) translate3d(0, 5px, 0);
  }

  90% {
    -webkit-transform: rotate(-69deg) translate3d(0, 1px, 0);
    transform: rotate(-69deg) translate3d(0, 1px, 0);
  }
}
